package com.numbfish.ch01_ex06_event.event;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

public class MethodExecutionEventListener implements ApplicationListener {
    public void onApplicationEvent(ApplicationEvent evt) {
        if(evt instanceof MethodExecutionEvent)
        {
            System.out.println("MethodExecutionEventListener:  "+"method execution event~~~");
        }
    }
}
